package com.sky.service;

import com.sky.entity.Orders;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;
import org.apache.coyote.Response;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

public interface ReportService {
    //查询营业额指定时间段的订单信息(已完成订单)
    TurnoverReportVO getTurnOver(LocalDate begin, LocalDate end);
    //统计指定日期内的用户和新增用户
    UserReportVO getUserStatistics(LocalDate begin, LocalDate end);
    //导出近30天数据
    void exportBusinessData(HttpServletResponse response) throws IOException;
}
